sh4: override dh_dwz to not process libvtkCommonCore
authorDrew Parsons <dparsons@debian.org>
Sat, 21 Feb 2026 10:55:45 +0000 (11:55 +0100)
committerDrew Parsons <dparsons@debian.org>
Sat, 21 Feb 2026 10:55:45 +0000 (11:55 +0100)
it fails with "Cannot allocate memory"

debian/changelog
debian/rules

index f817d5a322381f76b7862846e164ff4d991be064..fdaed80e8fccfd0402cf0ef17ebd7b7393992410 100644 (file)
@@ -1,3 +1,10 @@
+vtk9 (9.5.2+dfsg3-8) UNRELEASED; urgency=medium
+
+  * sh4: override dh_dwz to not process libvtkCommonCore
+    which fails with "Cannot allocate memory"
+
+ -- Drew Parsons <dparsons@debian.org>  Sat, 21 Feb 2026 11:54:22 +0100
+
 vtk9 (9.5.2+dfsg3-7) unstable; urgency=medium
 
   * Team upload.
index f5beea5efb9363463ea1d1e7a67f0e27bdfafc0b..5a40cd2b4a1d6ceb56b8be9fba604cebaa501213 100755 (executable)
@@ -162,3 +162,8 @@ execute_after_dh_install:
 execute_after_dh_installdocs-indep:
        find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/raw\.githubusercontent\.com//g'
        find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/cdn\.jsdelivr\.net\/npm\/mathjax@2/\/usr\/share\/javascript\/mathjax/g'
+
+ifeq ($(DEB_HOST_ARCH),sh4)
+override_dh_dwz:
+       dh_dwz -X libvtkCommonCore
+endif